﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Forging2.Common.Clamping
{
    interface IClamping
    {
        /// <summary>
        /// 加热炉抓取
        /// </summary>
        /// <returns></returns>
        Task<dynamic> FurnaceClamping(Heating.HeatingFurnace HeatFurnace, WorkingPiece workpiece);
        /// <summary>
        /// 加热炉松开
        /// </summary>
        /// <param name="heatingFurnace"></param>
        /// <param name="heatingworkpiece"></param>        
        /// <returns></returns>
        Task<dynamic> FurnaceLoosen(Heating.HeatingFurnace HeatFurnace, WorkingPiece workpiece);

        /// <summary>
        /// 锻压抓取
        /// </summary>
        /// <typeparam name="dynamic"></typeparam>     
        /// <returns></returns>
        Task<dynamic> ForgingClamping(Forging.ForgingDevice ForgeDevice, WorkingPiece workpiece);
        /// <summary>
        /// 锻压松开
        /// </summary>
        /// <param name="forgingDevice"></param>
        /// <param name="workpiece"></param>
        /// <returns></returns>
        Task<dynamic> ForgingLoosen(Forging.ForgingDevice ForgeDevice, WorkingPiece workpiece);
        /// <summary>
        /// 辗环抓取
        /// </summary>
        /// <returns></returns>
        Task<dynamic> RollingClamping(Rolling.RollingDevice RollDevice, WorkingPiece workpiece);
        /// <summary>
        /// 辗环松开
        /// </summary>
        /// <param name="workpiece"></param>
        /// <returns></returns>
        Task<dynamic> RollingLoosen(Rolling.RollingDevice RollDevice, WorkingPiece workpiece);




    }
}
